﻿using System;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Syndication;
using NCMIS.ObjectModel;

namespace NCMIS.ServiceModel.Ra
{
    public partial interface IService
    {
        [IncludeXmlDeclaration]
        [OperationContract(Name = "applyPolicy")]
        void ApplyPolicy(string repositoryId, string policyId, string objectId);

        [IncludeXmlDeclaration]
        [OperationContract(Name = "removePolicy")]
        void RemovePolicy(string repositoryId, string policyId, string objectId);

        [IncludeXmlDeclaration]
        [OperationContract(Name = "getAppliedPolicies")]
        Atom10FeedFormatter GetAppliedPolicies(string repositoryId, string objectId);
    }
}
